package com.fqgj.sentry.manage.dao.impl;
import com.fqgj.common.base.AbstractBaseMapper;
import com.fqgj.sentry.manage.dao.McMenuDao;
import com.fqgj.sentry.manage.entity.McMenuEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* User: ykpbean
* Date: 2017-07-12
* Time: 14:21:02.922
*/

@Repository
public class McMenuDaoImpl extends AbstractBaseMapper<McMenuEntity> implements McMenuDao {

    @Override
    public List<McMenuEntity> findByPid(Long pid) {
        return this.getSqlSession().selectList(this.getStatement(".findByPid"), pid);
    }
}